<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="web" uri="http://meerkat.qunar.com/web"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<web:designCss/>
<%@include file="/WEB-INF/include/head.jsp" %>
</head>
<body>
    <div class="wrapper">
        <web:titleBar title="更新用户组" />

        <div class="main content">
        <form>
            <table class="comm_form_table">
                    <tr>
                        <td>ID: </td>
                        <td><input type="text" id="id" name="id" value="${group.id}" readonly="true"/></td>
                    </tr>
                    <tr>
                        <td><span style="color:red;">*</span>用户组名称: </td>
                        <td><input type="text" id="name" name="name" value="${group.name}" /></td>
                    </tr>
                    <tr>
                        <td><span style="color:red;">*</span>描述: </td>
                        <td><textarea id="description" name="description" cols="40" rows="10">${group.description}</textarea></td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <input type="button" id="submit" class="button button-red" value="提交" />
                            <input type="button" class="button button-green" value="返回" onclick="history.go(-1);return false;"/>
                        </td>
                    </tr>
            </table>
        </form>
        </div>
    </div>
    <script>
    $(document).ready(function(){
        $('#submit').click(function(){
            return Qadmin.FW.Ajax.post({
                url: QG_CONFIG.PATH + 'group/update.htm',
                formId: 'groupUpdateForm'
            });
        });
    });
    </script>
</body>
</html>
